<?php

class Workset_Db_Table_Rowset extends Zend_Db_Table_Rowset {

    public function offsetUnset($offset)
    {
        if (isset($this->_data[$offset])) {
            unset($this->_data[$offset]);

            if (isset($this->_rows[$offset])) {
                unset($this->_rows[$offset]);
                $this->_rows = array_values($this->_rows);
            }

            $this->_data = array_values($this->_data);
            $this->_count = count($this->_data);
        }
    }

}

?>